:root {
  --primary: #FF6B35;
  --primary-hover: #fc5c22;
  --bg: #f5f5f5;
  --text: #111;
  --muted: #777;
  --border: #ddd;
}

main{
  background: var(--bg);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  height: auto;
  padding: 2rem 0;
}

/* CARD */
.login-container {
  background: #fff;
  padding: 40px 30px;
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}

/* LOGO */
.login-container .logo {
  width: 150px;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  margin-bottom: 10px;
}

.login-brand {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
}

/* INPUTS */
.input-group {
  margin-bottom: 15px;
  text-align: left;
}

.input-group input {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
  transition: 0.2s;
}

.input-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(230,0,35,0.15);
}

/* PASSWORD TOGGLE */
.password-wrapper {
  position: relative;
}

.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 14px;
  color: var(--muted);
}

/* LINKS */
.links {
  text-align: right;
  margin-bottom: 15px;
}

.links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

.links a:hover {
  text-decoration: underline;
}

/* BUTTONS */
.btn-primary {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.btn-primary:hover {
  background: var(--primary-hover);
}

.divider {
  margin: 20px 0;
  font-size: 12px;
  color: var(--muted);
}

/* GOOGLE BUTTON */
.btn-google {
  width: 100%;
  padding: 10px;
  border-radius: 25px;
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
  transition: 0.2s;

  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.btn-google:hover {
  background: #f0f0f0;
}

/* ERROR */
.error {
  color: red;
  font-size: 12px;
  margin-top: 5px;
  display: none;
}

/* FOOTER */
.footer-login {
  margin-top: 20px;
  font-size: 13px;
}

.footer-login a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.footer-login a:hover {
  text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .login-container {
    margin: 20px;
    padding: 30px 20px;
  }
}


